@import url("./app.css");

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--medikusBlue) !important;

    & .login-container {
        width: 600px;
        max-width: 100%;
        max-height: 400px;
        display: flex;
        flex-direction: column;
        border-radius: 1vw;
        overflow: hidden;
        box-shadow: 0px 0px 2rem 0.3rem rgba(255,255,255,0.5);

        & .header-container {
            position: relative;
            width: 100%;
            padding: 1.5rem;
            min-height: 3rem;
            box-sizing: border-box;
            background: linear-gradient(110deg, var(--medikusBlue) 50%, var(--medikusLightBlue) 90%);

            & .logo {
                position: absolute;
                left: 0.3rem;
                top: 0px;
                height: 100%;
                width: auto;
            }

            & .title {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                font-size: 150%;
                font-weight: bold;
            }
        }

        & .body-container {
            display: flex;
            width: 100%;
            background-color: white;
            flex-direction: column;
            padding: 2rem;

            & .error-container {
                width: 100%;
                color: var(--deleteRed);
            }

            & .input-container {
                width: 100%;
                box-sizing: border-box;
                display: flex;
                justify-content: stretch;
                align-items: stretch;

                &:nth-child(2 of .input-container) {
                    padding-top: 2rem;
                }

                & .icon { 
                    padding: 0.3rem;
                    box-sizing: border-box;
                    flex: 8%;
                    max-width: 8%;
                    height: auto;
                    background-color: white;
                    border: 1px solid var(--borderGrey);
                    border-right: none;
                    line-height: 1.5;
                    border-radius: 3px 0px 0px 3px;
                }

                & .input {
                    flex: 1 1 auto;
                    border: 1px solid var(--borderGrey);
                    color: black;
                    background-color: white;
                    font-weight: normal;
                    border-radius: 0px 3px 3px 0px ;
                    padding: 0.375rem 0.75rem;
                    line-height: 1.5;
                    box-sizing: border-box;
                }
            }

            & .btn-container {
                padding-top: 2rem;
                box-sizing: border-box;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;

                & .form-btn {
                    font-size: 130%;
                    padding: 0.375rem 2rem;
                }
            }
        }

        
    }
}